﻿namespace Templay
{
    /// <summary>
    /// A Parser
    /// </summary>
    public interface IParser
    {

        /// <summary>
        /// Parse the template and return all parsed elements
        /// </summary>
        /// <param name="template">The template content</param>
        /// <returns>A collection of ParseElement : List<ParseElement></returns>
        ParseElementCollection Parse(string template);

    }
}
